package com.jhgsys.internal.incentive.service;

import com.jhgsys.internal.incentive.entity.IncentiveRewardFile;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 安全奖励附件 Service接口
 *
 * @author wanghjw
 * @date 2024-09-03 14:08:33
 */
public interface IIncentiveRewardFileService extends IService<IncentiveRewardFile> {
    /**
     * 查询（分页）
     * @author wanghjw
     * @date 2024-09-03 14:08:33
     * @param request QueryRequest
     * @param incentiveRewardFile incentiveRewardFile
     * @return IPage<IncentiveRewardFile>
     */
    IPage<IncentiveRewardFile> findIncentiveRewardFilePage(QueryRequest request, IncentiveRewardFile incentiveRewardFile);

    /**
     * 查询（所有）
     * @author wanghjw
     * @date 2024-09-03 14:08:33
     * @param incentiveRewardFile incentiveRewardFile
     * @return List<IncentiveRewardFile>
     */
    List<IncentiveRewardFile> findIncentiveRewardFileList(IncentiveRewardFile incentiveRewardFile);

    /**
    * 根据ID查询
    * @author wanghjw
    * @date 2024-09-03 14:08:33
    * @param id
    * @return IncentiveRewardFile
    */
    IncentiveRewardFile findIncentiveRewardFileById(String id);

    /**
     * 新增
     * @author wanghjw
     * @date 2024-09-03 14:08:33
     * @param incentiveRewardFile incentiveRewardFile
     */
    void createIncentiveRewardFile(IncentiveRewardFile incentiveRewardFile);

    /**
     * 修改
     * @author wanghjw
     * @date 2024-09-03 14:08:33
     * @param incentiveRewardFile incentiveRewardFile
     */
    void updateIncentiveRewardFile(IncentiveRewardFile incentiveRewardFile);

    /**
     * 逻辑删除
     * @author wanghjw
     * @date 2024-09-03 14:08:33
     * @param incentiveRewardFile incentiveRewardFile
     * @param incentiveRewardFileIds incentiveRewardFileIds
     */
    void deleteIncentiveRewardFile(IncentiveRewardFile incentiveRewardFile,String incentiveRewardFileIds);

    /**
    * 物理删除
    * @author wanghjw
    * @date 2024-09-03 14:08:33
    * @param incentiveRewardFileIds incentiveRewardFileIds
    */
    void physicallyDeleteIncentiveRewardFile(String incentiveRewardFileIds);
}
